Purifying the Leviathan: The Strategic Dilemma of an Anti-corruption Campaign Under One-Party Rule
Authors: Tianyang Xi, Yang Yao and Qian Zhang
correspondence: zq0356@126.com
Date: Oct, 30, 2023

Stata Version: 14.0
R version: 4.1.1
Operating System: Micrsoft Windows 10


Replication code:
code_for_Figure_2.do: code for replicating Figure 2
code_for_Figure_3.do: code for replicating Figure 3 (a)(b)(c)(d)
code_for_Figure_4.do: code for replicating Figure 4
code_for_Figure_5_6_A5.R: code for replicating Figure 5 and 6
code_for_Table_1.do:  code for replicating Table 1
code_for_Table_2.do:  code for replicating Table 2
code_for_Table_A1.do:  code for replicating Table A1
code_for_Table_A2.do:  code for replicating Table A2
code_for_Table_A3.do:  code for replicating Table A3
code_for_Table_A4.do:  code for replicating Table A4

Replication data:
prosecuted_senior_officials.dta: data for the annual total number of senior officials prosecuted corruption
baiduindex.dta: data for public attentions to corruption and inequality by the Baidu Index
promotion.dta: city-year-level promotion data
investigation_2013_2016.dta: individual-level investigation data from 2013 to 2016
investigation_2013_2021.dta: individual-level investigation data from 2013 to 2021
investigation_2013_2021_exclude_ppl.dta:  individual-level investigation data excluding connections to purged provincial leaders from 2013 to 2021
marginal_effects_of_ability.dta and marginal_effects_of_ability.xlsx: intermediate products to graph Figure 4
workreports.csv: work reports data from 2013 to 2018
stopwords.txt: stopword for work reports